]> dgit.raspbian.org Git - gnome-shell.git/commit
status/backgroundApps: Filter out unknown apps
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Sep 2023 15:08:38 +0000 (17:08 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 5 Sep 2023 16:06:24 +0000 (16:06 +0000)
commit2bc4215d1d04abc2e92de648d76eab05bd405bd7
tree5691da080ddfaffccb5ae996a9506f6b0228e903
parent8ece56b5c293fbd201c11563323148c295a4b50f
status/backgroundApps: Filter out unknown apps

While extremely rare, flatpak apps are not guaranteed to provide
a .desktop file.

We don't have anything to represent the app in that case, but at
least we shouldn't break when trying to access properties on null,
so filter out these entries.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6913

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2938>
js/ui/status/backgroundApps.js